package com.inventory.service;

import java.util.List;
import com.inventory.entity.Inventory;

/**
 * 库存信息 业务逻辑接口
 */
public interface InventoryService {

    /**
     * 添加库存信息
     * @param inventory
     * @return
     */
    boolean doAddInventoryInfo(Inventory inventory);

    /**
     * 修改库存信息
     * @param inventory
     * @return
     */
    boolean doModifyInventoryInfo(Inventory inventory);

    /**
     * 删除库存信息
     * @param inventory
     * @return
     */
    boolean doDeleteInventoryInfo(Inventory inventory);

    /**
     * 获取库存信息
     * @param inventory
     * @return
     */
    Inventory doGetInventoryInfo(Inventory inventory);

    /**
     * 获取库存列表
     * @return
     */
    List<Inventory> doGetInventoryInfoList();

    /**
     * 查询库存列表
     * @param inventory
     * @return
     */
    List<Inventory> doQueryInventoryInfoList(Inventory inventory);

}